
/****** Object:  Stored Procedure [dbo].tblOpicsTransactionGet    Script Date: Thursday, October 27, 2011 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sptblOpicsTransactionGet]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sptblOpicsTransactionGet]
GO

	
	
/******************************************************************************
**		File: 
**		Name: [dbo].sptblOpicsTransactionGet
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 27/10/2011 17:41:38
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].sptblOpicsTransactionGet
	@ID uniqueidentifier
AS

SELECT
	[ID],
	[ValueDate],
	[ValueDateInOpics],
	[DealDate],
	[BuyCurrency],
	[SellCurrency],
	[CustomerRate],
	[BuyAmount],
	[SellAmount],
	[InternalRate],
	[Customer],
	[Porfolio],
	[Branch],
	[ImportTransactionID],
	[RunningDate],
	[Status],
	[DealNo]
FROM
	[dbo].[tblOpicsTransaction]
WHERE
	[ID] = @ID

GO
	

	
